package com.deyang.workflow.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 模板步骤表
 * </p>
 *
 * @author zhanghuaiyu
 * @since 2021-07-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="WorkOrderStep对象", description="模板步骤表")
@TableName("work_order_step")
public class WorkOrderStep implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "序号")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "模板编号")
    private Long templateCode;

    @ApiModelProperty(value = "模板名称")
    private String templateName;

    @ApiModelProperty(value = "模板唯一编号")
    private String templateUuid;

    @ApiModelProperty(value = "上节点编号")
    private String parentId;

    @ApiModelProperty(value = "节点名称")
    private String nodeName;

    @ApiModelProperty(value = "节点主题")
    private String nodeTheme;

    @ApiModelProperty(value = "节点地址")
    private String nodeAddress;

    @ApiModelProperty(value = "处理方式")
    private String processMode;

    @ApiModelProperty(value = "候选人ID")
    private String candidateId;

    @ApiModelProperty(value = "候选人")
    private String candidate;

    @ApiModelProperty(value = "部门id")
    private Long deptId;

    @ApiModelProperty(value = "部门名称")
    private String deptName;

    @ApiModelProperty(value = "岗位ID")
    private Long postId;

    @ApiModelProperty(value = "岗位名称")
    private String postName;

    @ApiModelProperty(value = "是否可协同")
    private String synergyStatus;

    @ApiModelProperty(value = "通知方式")
    private String messageType;

    @ApiModelProperty(value = "是否可驳回")
    private String rejectStatus;

    @ApiModelProperty(value = "步骤状态")
    private String status;


    @ApiModelProperty(value = "步骤是否删,1为删除,0为修改")
    @TableField(exist = false)
    private String deleteStatus;
}
